﻿<UserControl x:Class="Lottery.Client.SL.Controls.Keyboard"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignWidth="400" Width="660" Height="48">

    <UserControl.Resources>
        <Style x:Key="SelectKey_1" TargetType="Rectangle">
            <Setter Property="Fill" Value="#FFFF670F"/>
            <Setter Property="Effect">
                <Setter.Value>
                    <BlurEffect Radius="5"/>
                </Setter.Value>
            </Setter>
            <Setter Property="RadiusX" Value="10"/>
        </Style>
        <Style x:Key="SelectKey_2" TargetType="Rectangle">
            <Setter Property="Effect">
                <Setter.Value>
                    <BlurEffect Radius="1"/>
                </Setter.Value>
            </Setter>
            <Setter Property="Fill" Value="#FFFF8408"/>
            <Setter Property="Stroke" Value="#FFDE7001"/>
        </Style>
        <Style x:Key="NoneKey1" TargetType="Rectangle">
            <Setter Property="Fill">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFD0D0D0" Offset="1"/>
                        <GradientStop Color="#FFE0E0E0"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
            <Setter Property="Stroke">
                <Setter.Value>
                    <SolidColorBrush Color="#FFB4B4B4"/>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="NoneKey2" TargetType="Rectangle">
            <Setter Property="Fill">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="1"/>
                        <GradientStop Color="#FFFBFBFB"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
            <Setter Property="Opacity" Value="0.98"/>
            <Setter Property="Effect">
                <Setter.Value>
                    <BlurEffect Radius="3"/>
                </Setter.Value>
            </Setter>
        </Style>
    </UserControl.Resources>

    <Canvas x:Name="LayoutRoot">
        <Canvas x:Name="KName" Height="29" VerticalAlignment="Top" Width="75" Canvas.Top="10" Canvas.Left="6">
            <Rectangle Height="24" Stroke="#ABFFFFFF" Width="52" Canvas.Left="1" Canvas.Top="1">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF6C6C6C" Offset="0.53"/>
                        <GradientStop Color="#FF414141" Offset="0.621"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <TextBlock x:Name="KNameLable"  TextAlignment="Center" Height="24" TextWrapping="Wrap" Width="44" TextOptions.TextHintingMode="Animated" FontSize="14.667" Canvas.Top="2" Foreground="White" Canvas.Left="6"/>
        </Canvas>
        <Canvas x:Name="KeyNum" Height="28" Canvas.Left="85" Canvas.Top="11" Width="350">
            <Canvas x:Name="K0" Height="28" VerticalAlignment="Top" Width="35">
                <Rectangle Height="24" Width="26" RadiusX="2" RadiusY="2" Fill="#66000000" Canvas.Top="2" StrokeThickness="0" Opacity="0.835" Canvas.Left="1" d:IsLocked="True">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Canvas.Left="1" Style="{StaticResource NoneKey1}"/>
                <Rectangle Height="22" Width="22" RadiusX="3" RadiusY="3" Canvas.Left="2" Canvas.Top="1" Style="{StaticResource NoneKey2}"/>
                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="0" Width="22" Foreground="#FF1F1D1D" FontFamily="Calibri" TextOptions.TextHintingMode="Animated" FontSize="18.667" Canvas.Left="2" FontWeight="Bold" d:IsLocked="True"/>
            </Canvas>
            <Canvas x:Name="K1" Height="28" VerticalAlignment="Top" Width="35" Canvas.Left="35">
                <Rectangle Height="24" Width="26" RadiusX="2" RadiusY="2" Fill="#66000000" Canvas.Top="2" StrokeThickness="0" Opacity="0.835" Canvas.Left="1" d:IsLocked="True">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Canvas.Left="1" Style="{StaticResource NoneKey1}"/>
                <Rectangle Height="22" Width="22" RadiusX="3" RadiusY="3" Canvas.Left="2" Canvas.Top="1" Style="{StaticResource NoneKey2}"/>

                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="1" Width="22" Foreground="#FF1F1D1D" FontFamily="Calibri" TextOptions.TextHintingMode="Animated" FontSize="18.667" Canvas.Left="2" FontWeight="Bold" d:IsLocked="True"/>
            </Canvas>
            <Canvas x:Name="K2" Height="28" VerticalAlignment="Top" Width="35" Canvas.Left="70">
                <Rectangle Height="24" Width="26" RadiusX="2" RadiusY="2" Fill="#66000000" Canvas.Top="2" StrokeThickness="0" Opacity="0.835" Canvas.Left="1" d:IsLocked="True">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Canvas.Left="1" Style="{StaticResource NoneKey1}"/>
                <Rectangle Height="22" Width="22" RadiusX="3" RadiusY="3" Canvas.Left="2" Canvas.Top="1" Style="{StaticResource NoneKey2}"/>

                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="2" Width="22" Foreground="#FF1F1D1D" FontFamily="Calibri" TextOptions.TextHintingMode="Animated" FontSize="18.667" Canvas.Left="2" FontWeight="Bold" d:IsLocked="True"/>
            </Canvas>
            <Canvas x:Name="K3" Height="28" VerticalAlignment="Top" Width="35" Canvas.Left="105">
                <Rectangle Height="24" Width="26" RadiusX="2" RadiusY="2" Fill="#66000000" Canvas.Top="2" StrokeThickness="0" Opacity="0.835" Canvas.Left="1" d:IsLocked="True">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Canvas.Left="1" Style="{StaticResource NoneKey1}"/>
                <Rectangle Height="22" Width="22" RadiusX="3" RadiusY="3" Canvas.Left="2" Canvas.Top="1" Style="{StaticResource NoneKey2}"/>

                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="3" Width="22" Foreground="#FF1F1D1D" FontFamily="Calibri" TextOptions.TextHintingMode="Animated" FontSize="18.667" Canvas.Left="2" FontWeight="Bold" d:IsLocked="True"/>
            </Canvas>
            <Canvas x:Name="K4" Height="28" VerticalAlignment="Top" Width="35" Canvas.Left="140">
                <Rectangle Height="24" Width="26" RadiusX="2" RadiusY="2" Fill="#66000000" Canvas.Top="2" StrokeThickness="0" Opacity="0.835" Canvas.Left="1" d:IsLocked="True">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Canvas.Left="1" Style="{StaticResource NoneKey1}"/>
                <Rectangle Height="22" Width="22" RadiusX="3" RadiusY="3" Canvas.Left="2" Canvas.Top="1" Style="{StaticResource NoneKey2}"/>

                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="4" Width="22" Foreground="#FF1F1D1D" FontFamily="Calibri" TextOptions.TextHintingMode="Animated" FontSize="18.667" Canvas.Left="2" FontWeight="Bold" d:IsLocked="True"/>
            </Canvas>
            <Canvas x:Name="K5" Height="28" VerticalAlignment="Top" Width="35" Canvas.Left="175">
                <Rectangle Height="24" Width="26" RadiusX="2" RadiusY="2" Fill="#66000000" Canvas.Top="2" StrokeThickness="0" Opacity="0.835" Canvas.Left="1" d:IsLocked="True">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Canvas.Left="1" Style="{StaticResource NoneKey1}"/>
                <Rectangle Height="22" Width="22" RadiusX="3" RadiusY="3" Canvas.Left="2" Canvas.Top="1" Style="{StaticResource NoneKey2}"/>

                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="5" Width="22" Foreground="#FF1F1D1D" FontFamily="Calibri" TextOptions.TextHintingMode="Animated" FontSize="18.667" Canvas.Left="2" FontWeight="Bold" d:IsLocked="True"/>
            </Canvas>
            <Canvas x:Name="K6" Height="28" VerticalAlignment="Top" Width="35" Canvas.Left="210">
                <Rectangle Height="24" Width="26" RadiusX="2" RadiusY="2" Fill="#66000000" Canvas.Top="2" StrokeThickness="0" Opacity="0.835" Canvas.Left="1" d:IsLocked="True">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Canvas.Left="1" Style="{StaticResource NoneKey1}"/>
                <Rectangle Height="22" Width="22" RadiusX="3" RadiusY="3" Canvas.Left="2" Canvas.Top="1" Style="{StaticResource NoneKey2}"/>

                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="6" Width="22" Foreground="#FF1F1D1D" FontFamily="Calibri" TextOptions.TextHintingMode="Animated" FontSize="18.667" Canvas.Left="2" FontWeight="Bold" d:IsLocked="True"/>
            </Canvas>
            <Canvas x:Name="K7" Height="28" VerticalAlignment="Top" Width="35" Canvas.Left="245">
                <Rectangle Height="24" Width="26" RadiusX="2" RadiusY="2" Fill="#66000000" Canvas.Top="2" StrokeThickness="0" Opacity="0.835" Canvas.Left="1" d:IsLocked="True">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Canvas.Left="1" Style="{StaticResource NoneKey1}"/>
                <Rectangle Height="22" Width="22" RadiusX="3" RadiusY="3" Canvas.Left="2" Canvas.Top="1" Style="{StaticResource NoneKey2}"/>

                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="7" Width="22" Foreground="#FF1F1D1D" FontFamily="Calibri" TextOptions.TextHintingMode="Animated" FontSize="18.667" Canvas.Left="2" FontWeight="Bold" d:IsLocked="True"/>
            </Canvas>
            <Canvas x:Name="K8" Height="28" VerticalAlignment="Top" Width="35" Canvas.Left="280">
                <Rectangle Height="24" Width="26" RadiusX="2" RadiusY="2" Fill="#66000000" Canvas.Top="2" StrokeThickness="0" Opacity="0.835" Canvas.Left="1" d:IsLocked="True">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Canvas.Left="1" Style="{StaticResource NoneKey1}"/>
                <Rectangle Height="22" Width="22" RadiusX="3" RadiusY="3" Canvas.Left="2" Canvas.Top="1" Style="{StaticResource NoneKey2}"/>

                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="8" Width="22" Foreground="#FF1F1D1D" FontFamily="Calibri" TextOptions.TextHintingMode="Animated" FontSize="18.667" Canvas.Left="2" FontWeight="Bold" d:IsLocked="True"/>
            </Canvas>
            <Canvas x:Name="K9" Height="28" VerticalAlignment="Top" Width="35" Canvas.Left="315">
                <Rectangle Height="24" Width="26" RadiusX="2" RadiusY="2" Fill="#66000000" Canvas.Top="2" StrokeThickness="0" Opacity="0.835" Canvas.Left="1" d:IsLocked="True">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Canvas.Left="1" Style="{StaticResource NoneKey1}"/>
                <Rectangle Height="22" Width="22" RadiusX="3" RadiusY="3" Canvas.Left="2" Canvas.Top="1" Style="{StaticResource NoneKey2}"/>

                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="9" Width="22" Foreground="#FF1F1D1D" FontFamily="Calibri" TextOptions.TextHintingMode="Animated" FontSize="18.667" Canvas.Left="2" FontWeight="Bold" d:IsLocked="True"/>
            </Canvas>
        </Canvas>
        <Canvas x:Name="KeyCommand" Height="28" Canvas.Left="457" Canvas.Top="11" Width="203">
            <Canvas x:Name="Q" Height="28" VerticalAlignment="Top" HorizontalAlignment="Left" Width="28">
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Fill="#33000000" Canvas.Top="2" StrokeThickness="0" Canvas.Left="3">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="22" RadiusX="2" RadiusY="2" Stroke="#FFFBFBFB" Canvas.Left="3" Fill="#99FFFDFD"/>
                <Rectangle Height="22" Width="20" RadiusX="2" RadiusY="2" Opacity="0.8" Canvas.Left="4" Canvas.Top="1" Fill="#FF565656">
                    <Rectangle.Effect>
                        <BlurEffect Radius="3"/>
                    </Rectangle.Effect>
                </Rectangle>
                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="全" Width="16" Foreground="White" FontFamily="STXihei" TextOptions.TextHintingMode="Animated" FontSize="12" Canvas.Left="6" Canvas.Top="4"/>
            </Canvas>
            <Canvas x:Name="D" Height="28" VerticalAlignment="Top" HorizontalAlignment="Left" Width="28" Canvas.Left="35">
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Fill="#33000000" Canvas.Top="2" StrokeThickness="0" Canvas.Left="3">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="22" RadiusX="2" RadiusY="2" Stroke="#FFFBFBFB" Canvas.Left="3" Fill="#99FFFDFD"/>
                <Rectangle Height="22" Width="20" RadiusX="2" RadiusY="2" Opacity="0.8" Canvas.Left="4" Canvas.Top="1" Fill="#FF565656">
                    <Rectangle.Effect>
                        <BlurEffect Radius="3"/>
                    </Rectangle.Effect>
                </Rectangle>
                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="大" Width="16" Foreground="White" FontFamily="STXihei" TextOptions.TextHintingMode="Animated" FontSize="12" Canvas.Left="6" Canvas.Top="4"/>
            </Canvas>
            <Canvas x:Name="X" Height="28" VerticalAlignment="Top" HorizontalAlignment="Left" Width="28" Canvas.Left="70">
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Fill="#33000000" Canvas.Top="2" StrokeThickness="0" Canvas.Left="3">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="22" RadiusX="2" RadiusY="2" Stroke="#FFFBFBFB" Canvas.Left="3" Fill="#99FFFDFD"/>
                <Rectangle Height="22" Width="20" RadiusX="2" RadiusY="2" Opacity="0.8" Canvas.Left="4" Canvas.Top="1" Fill="#FF565656">
                    <Rectangle.Effect>
                        <BlurEffect Radius="3"/>
                    </Rectangle.Effect>
                </Rectangle>
                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="小" Width="16" Foreground="White" FontFamily="STXihei" TextOptions.TextHintingMode="Animated" FontSize="12" Canvas.Left="6" Canvas.Top="4"/>
            </Canvas>
            <Canvas x:Name="J" Height="28" VerticalAlignment="Top" HorizontalAlignment="Left" Width="28" Canvas.Left="105">
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Fill="#33000000" Canvas.Top="2" StrokeThickness="0" Canvas.Left="3">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="22" RadiusX="2" RadiusY="2" Stroke="#FFFBFBFB" Canvas.Left="3" Fill="#99FFFDFD"/>
                <Rectangle Height="22" Width="20" RadiusX="2" RadiusY="2" Opacity="0.8" Canvas.Left="4" Canvas.Top="1" Fill="#FF565656">
                    <Rectangle.Effect>
                        <BlurEffect Radius="3"/>
                    </Rectangle.Effect>
                </Rectangle>
                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="奇" Width="16" Foreground="White" FontFamily="STXihei" TextOptions.TextHintingMode="Animated" FontSize="12" Canvas.Left="6" Canvas.Top="4"/>
            </Canvas>
            <Canvas x:Name="O" Height="28" VerticalAlignment="Top" HorizontalAlignment="Left" Width="28" Canvas.Left="140">
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Fill="#33000000" Canvas.Top="2" StrokeThickness="0" Canvas.Left="3">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="22" RadiusX="2" RadiusY="2" Stroke="#FFFBFBFB" Canvas.Left="3" Fill="#99FFFDFD"/>
                <Rectangle Height="22" Width="20" RadiusX="2" RadiusY="2" Opacity="0.8" Canvas.Left="4" Canvas.Top="1" Fill="#FF565656">
                    <Rectangle.Effect>
                        <BlurEffect Radius="3"/>
                    </Rectangle.Effect>
                </Rectangle>
                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="偶" Width="16" Foreground="White" FontFamily="STXihei" TextOptions.TextHintingMode="Animated" FontSize="12" Canvas.Left="6" Canvas.Top="4"/>
            </Canvas>
            <Canvas x:Name="C" Height="28" VerticalAlignment="Top" HorizontalAlignment="Left" Width="28" Canvas.Left="175">
                <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Fill="#33000000" Canvas.Top="2" StrokeThickness="0" Canvas.Left="3">
                    <Rectangle.Effect>
                        <BlurEffect Radius="2"/>
                    </Rectangle.Effect>
                </Rectangle>
                <Rectangle Height="24" Width="22" RadiusX="2" RadiusY="2" Stroke="#FFFBFBFB" Canvas.Left="3" Fill="#99FFFDFD"/>
                <Rectangle Height="22" Width="20" RadiusX="2" RadiusY="2" Opacity="0.8" Canvas.Left="4" Canvas.Top="1" Fill="#FF565656">
                    <Rectangle.Effect>
                        <BlurEffect Radius="3"/>
                    </Rectangle.Effect>
                </Rectangle>
                <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="清" Width="16" Foreground="White" FontFamily="STXihei" TextOptions.TextHintingMode="Animated" FontSize="12" Canvas.Left="6" Canvas.Top="4"/>
            </Canvas>
        </Canvas>
        <Canvas x:Name="SelectKey" Height="28" VerticalAlignment="Top" Width="35" Canvas.Top="47" Opacity="0">
            <Rectangle Height="24" Width="24" RadiusY="2" Canvas.Left="1" Style="{StaticResource SelectKey_1}" RadiusX="2"/>
            <Rectangle Height="22" Width="22" RadiusX="3" RadiusY="3" Canvas.Left="2" Canvas.Top="1" Style="{StaticResource SelectKey_2}"/>
            <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="0" Width="22" Foreground="White" FontFamily="Calibri" TextOptions.TextHintingMode="Animated" FontSize="18.667" Canvas.Left="2" FontWeight="Bold"/>
        </Canvas>
        <Canvas x:Name="NoneKey" Height="28" VerticalAlignment="Top" Width="35" Canvas.Top="79" Opacity="0">
            <Rectangle Height="24" Width="24" RadiusX="2" RadiusY="2" Canvas.Left="1" Style="{StaticResource NoneKey1}"/>
            <Rectangle Height="22" Width="22" RadiusX="3" RadiusY="3" Canvas.Left="2" Canvas.Top="1" Style="{StaticResource NoneKey2}"/>
            <TextBlock  TextAlignment="Center" Height="23" TextWrapping="Wrap" Text="0" Width="22" Foreground="#FF1F1D1D" FontFamily="Calibri" TextOptions.TextHintingMode="Animated" FontSize="18.667" Canvas.Left="2" FontWeight="Bold"/>
        </Canvas>
    </Canvas>
</UserControl>
